package com.iris.jvmtest.classloader;

import sun.security.util.SecurityConstants;

/**
 * @date : 2017年10月20日 下午4:54:08
 * @author : Iris.Xiao
 * @version : 1.0
 * @description : 
*/
public class ClassLoaderTest {

	public void test(){
		ClassLoader c1  = this.getClass().getClassLoader();
		SecurityManager  sm = System.getSecurityManager();
		ClassLoader cc1  = ClassLoader.getSystemClassLoader();
		sm.checkPermission(SecurityConstants.GET_CLASSLOADER_PERMISSION);
	}
}
